<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>后台</title>
    <style>
        a {
            text-decoration: none;
            color: #1106ff;
        }

        tr {
            line-height: 100px;
            font-size: 25px;
        }

        td {
            text-align: center;
        }

        li:hover {
            background-color: #269abc;
        }

        li {
            padding-top: 10px;
            padding-bottom: 10px;
        }

        p {
            font-size: 25px;
            margin: 40px auto;
        }
        ul:hover{
            background-color: #a6e1ec;
        }
    </style>
</head>
<body>
<div  style="height:8vh;margin-top: 10px;margin-bottom: 10px" th:insert="~{back/header::head}"></div>
<div style="height:92vh;width: 20%;float: left;" th:insert="~{back/header::left}" ></div>
<div style="margin-left: 20%;text-align: center" >
    <h1>文章管理系统后台</h1>
    <p>目前</p>
    <p>文章管理系统共有&nbsp;<span th:text="${allArticleCount}"></span>&nbsp;篇文章</p>
    <p>而用户&nbsp;
        <span style="color: blueviolet"
              th:text="${#session.getAttribute('userName')}">
        </span>&nbsp;
        有&nbsp;<span th:text="${userArticleCount}"></span>&nbsp;篇文章</p>
</div>
</body>
</html>